package com.ruoyi.fengkong.service;

import com.ruoyi.fengkong.entity.TFkBusinessCreditSub;

import java.util.List;


/**
 * 风控公寓授信子Service接口
 * 
 * @author wish
 * @date 2021-06-19
 */
public interface ITFkBusinessCreditSubService 
{
    /**
     * 查询风控公寓授信子
     * 
     * @param id 风控公寓授信子ID
     * @return 风控公寓授信子
     */
    public TFkBusinessCreditSub selectTFkBusinessCreditSubById(Long id);

    /**
     * 查询风控公寓授信子列表
     * 
     * @param tFkBusinessCreditSub 风控公寓授信子
     * @return 风控公寓授信子集合
     */
    public List<TFkBusinessCreditSub> selectTFkBusinessCreditSubList(TFkBusinessCreditSub tFkBusinessCreditSub);

    /**
     * 新增风控公寓授信子
     * 
     * @param tFkBusinessCreditSub 风控公寓授信子
     * @return 结果
     */
    public int insertTFkBusinessCreditSub(TFkBusinessCreditSub tFkBusinessCreditSub);

    /**
     * 修改风控公寓授信子
     * 
     * @param tFkBusinessCreditSub 风控公寓授信子
     * @return 结果
     */
    public int updateTFkBusinessCreditSub(TFkBusinessCreditSub tFkBusinessCreditSub);

    /**
     * 批量删除风控公寓授信子
     * 
     * @param ids 需要删除的风控公寓授信子ID
     * @return 结果
     */
    public int deleteTFkBusinessCreditSubByIds(Long[] ids);

    /**
     * 删除风控公寓授信子信息
     * 
     * @param id 风控公寓授信子ID
     * @return 结果
     */
    public int deleteTFkBusinessCreditSubById(Long id);
}
